package Entity;

import java.io.Serializable;

/**
 * The type User.
 *
 * @author dzr
 * @version 1.0
 */
public class User implements Serializable {
    private int uid;
    private int profileID;
    private String username;
    private String sex;
    private String birthday;
    private static final long serialVersionUID = 123456789L;

    /**
     * Instantiates a new User.
     *
     * @param uid       the uid
     * @param profileID the profile id
     * @param username  the username
     * @param sex       the sex
     * @param birthday  the birthday
     */
    public User(int uid, int profileID, String username, String sex, String birthday) {
        this.uid = uid;
        this.profileID = profileID;
        this.username = username;
        this.sex = sex;
        this.birthday = birthday;
    }

    /**
     * Gets uid.
     *
     * @return the uid
     */
    public int getUid() {
        return uid;
    }

    /**
     * Sets uid.
     *
     * @param uid the uid
     */
    public void setUid(int uid) {
        this.uid = uid;
    }

    /**
     * Gets profile id.
     *
     * @return the profile id
     */
    public int getProfileID() {
        return profileID;
    }

    /**
     * Sets profile id.
     *
     * @param profileID the profile id
     */
    public void setProfileID(int profileID) {
        this.profileID = profileID;
    }

    /**
     * Gets username.
     *
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * Sets username.
     *
     * @param username the username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * Gets sex.
     *
     * @return the sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * Sets sex.
     *
     * @param sex the sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * Gets birthday.
     *
     * @return the birthday
     */
    public String getBirthday() {
        return birthday;
    }

    /**
     * Sets birthday.
     *
     * @param birthday the birthday
     */
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}
